﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Wicresoft.RDW.Presentation;

namespace Wicresoft.RDW.Mail
{
    public partial class SendDemo : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
             
        }

        protected void Button1_Click(object sender, EventArgs e)
        {

            MailPresent.SendMail("ApprovedReminderTemplate", "qin^2011-01-01^3^3^3^3^3^3^3^3^3^3^3^3^3^3", "Hui.f.Jiang@alcatel-sbell.com.cn", "lu.leon@alcatel-sbell.com.cn");
        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            //组织列表数据
            //List<string> tolist = new List<string>();
            //tolist.Add("273456512@qq.com");
            //tolist.Add("shuaiqin@wicresoft.com");
            //MailPresent.SendMail("m1", "qin^2011-01-01", tolist, "");
        }
    }
}